/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controlversions;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 *
 * @author Eduardo
 */
public class Controlversions {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        // TODO code application logic here
        System.out.println("entra el texto");
        BufferedReader lector = new BufferedReader(new InputStreamReader(System.in));
        String entrada = lector.readLine();
        System.out.println("has introducido " + entrada);
        if (entrada.equals("hola")){
            System.out.println("hola mundo");
        }else{
            System.out.println("Mondo cruele");
        }
    }
}
